*** Replication file for: "How politicians learn about public opinion" ***

** Descriptives Figure 1 **
sum known
cii 775 5.06 2.12

sum citizens
cii 775 6.34 1.76

sum own_polls
cii 775 3.698 1.978

sum other_polls
cii 775 3.76 2.001

sum socials
cii 775 3.896 2.15 

sum media
cii 775 5.709 2.06

sum movements
cii 775  4.96 2.02

sum journalists
cii 775  2.56 1.67


** Descriptives Figure 2 **
sum known if country == 1
sum citizens if country == 1
sum own_polls if country == 1
sum other_polls if country == 1
sum socials if country == 1
sum media if country == 1
sum movements if country == 1
sum journalists if country == 1
 

 // Switzerland
sum known if country == 3
sum citizens if country == 3
sum own_polls if country == 3
sum other_polls if country == 3
sum socials if country == 3
sum media if country == 3
sum movements if country == 3
sum journalists if country == 3

 // Netherlands
sum known if country == 4
sum citizens if country == 4
sum own_polls if country == 4
sum other_polls if country == 4
sum socials if country == 4
sum media if country == 4
sum movements if country == 4
sum journalists if country == 4

 // Germany
sum known if country == 5
sum citizens if country == 5
sum own_polls if country == 5
sum other_polls if country == 5
sum socials if country == 5
sum media if country == 5
sum movements if country == 5
sum journalists if country == 5

// Canada
sum known if country == 6
sum citizens if country == 6
sum own_polls if country == 6
sum other_polls if country == 6
sum socials if country == 6
sum media if country == 6
sum movements if country == 6
sum journalists if country == 6


** Regressions Appendix Table A3 **
xtologit citizens top seniority trustee female gov LR_CHES party_seat ib1.country
xtologit media top seniority trustee female gov LR_CHES party_seat ib1.country
xtologit socials top seniority trustee female gov LR_CHES party_seat ib1.country 
xtologit movements top seniority trustee female gov LR_CHES party_seat ib1.country
xtologit journalists top seniority trustee female LR_CHES party_seat gov ib1.country
xtologit known top seniority trustee sex gov female party_seat ib1.country
xtologit other_polls top seniority trustee female gov LR_CHES party_seat ib1.country
xtologit own_polls top seniority trustee female gov LR_CHES party_seat ib1.country



